package cn.chencq.generic;

public class Student<T1, T2> {

	private T1 javaScore;
	private T2 oracleScore;

	public T1 getJavaScore() {
		return javaScore;
	}

	public void setJavaScore(T1 javaScore) {
		this.javaScore = javaScore;
	}

	public T2 getOracleScore() {
		return oracleScore;
	}

	public void setOracleScore(T2 oracleScore) {
		this.oracleScore = oracleScore;
	}

	public static void main(String[] args) {
		Student<String, Integer> s = new Student<String, Integer>();
		s.setJavaScore("111");
		s.setOracleScore(154);
	}
}
